﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using com.cgWorkstudio.BIMP.Library;
using System.Reflection;
using System.Diagnostics;
using com.cgWorkstudio.BIMP.Library.vo;

namespace com.cgWorkstudio.BIMP.Client {
    public partial class Form_Startup:CGClientForm {

        //protected override void WndProc(ref Message m) {
        //    //if(m.Msg == 0x0014) // 禁掉清除背景消息
        //    //    return;
            
        //    //if(m.Msg == 0x112) {
        //    //    if(m.WParam.ToInt64() == SC_RESTORE){
        //    //        cgAutoShowTimer.Start();
        //    //        return;
        //    //    }
        //    //}
        //    base.WndProc(ref m);
        //}

        

        public Form_Startup() {
            InitializeComponent();
            this.showButtonPanel.MouseDown +=new MouseEventHandler(MoveMessengerFormHandler);
        }

        private void uC_MiniumumButton1_Click(object sender,EventArgs e) {
            //this.Opacity = 0;
            this.WindowState = FormWindowState.Minimized;
        }

        private void uC_CloseButton1_Click(object sender,EventArgs e) {
            doParentAction(CGControllerType.Close);
        }

        private void Form_Startup_Load(object sender,EventArgs e) {
}

        // 启动登录界面
        private void uC_IndexTextButton1_Click(object sender,EventArgs e) {
            doParentAction(CGControllerType.Login);
        }
    }
}